<template>
    <!-- pages/index/details/details.wxml -->
	<uni-card>
		<view style="display: flex; justify-content: center">
		    <view style="flex;width : auto? ;height : auto">
				<view>
					<image class="picture" src="/static/images/avatar.png" style=" border-radius: 100rpx;width: 150rpx;height: 150rpx;margin-top: 20rpx;"></image>
				</view>
		        <view>yonghuming</view>
				
		    </view>
			
		</view>
		
		<text>
			简介：{{text}}
		</text>
		<view class="btn-area" >
			<button class="submit_btn" formType="submit" tap="">查看用户空间</button>
		</view>
		<view style="display:flex;flex-direction: row; align-items: center;margin-top:10rpx">
			<button class="ad" @click="">接受</button>
			<button class="rej" @click="">拒绝</button>
		</view>
	</uni-card>
   
	
	
</template>

<script>
// pages/index/details/details.js
export default {
    data() {
        return {
            portrait: '/static/images/avatar.png',
            nickname: '',
            text: 'aslkdjalskjdlaskd'
        };
    }
    /**
     * Lifecycle function--Called when page load
     */,
    onLoad: function (options) {
        console.log(options);
        this.setData({
            portrait: options.portrait,
            nickname: options.nickname,
            text: options.text
        });
    },
    /**
     * Lifecycle function--Called when page is initially rendered
     */
    onReady: function () {},
    /**
     * Lifecycle function--Called when page show
     */
    onShow: function () {},
    /**
     * Lifecycle function--Called when page hide
     */
    onHide: function () {},
    /**
     * Lifecycle function--Called when page unload
     */
    onUnload: function () {},
    /**
     * Page event handler function--Called when user drop down
     */
    onPullDownRefresh: function () {},
    /**
     * Called when page reach bottom
     */
    onReachBottom: function () {},
    /**
     * Called when user click on the top right corner to share
     */
    onShareAppMessage: function () {},
    methods: {}
};
</script>
<style>
@import './details.css';
</style>
